package com.yj.springbootsecuritydemo01.mapper;

import com.yj.springbootsecuritydemo01.pojo.UserParam;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    /**
     * 注册用户
     * @param userParam
     * @return
     */
    int save(UserParam userParam);

    UserParam selectUserByUsername(String username);

}
